package com.ny.zmb.openapi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 会员v值变动表
 * </p>
 *
 * @author xie
 * @since 2024-10-25
 */
@TableName("pm_user_v_log")
@ApiModel(value = "PmUserVLog对象", description = "会员v值变动表")
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class PmUserVLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("会员ID")
    private Integer userId;

    @ApiModelProperty("变更v值")
    private Integer score;

    @ApiModelProperty("变更前v值")
    private Integer before;

    @ApiModelProperty("变更后v值")
    private Integer after;

    @ApiModelProperty("备注")
    private String memo;

    @ApiModelProperty("创建时间")
    private Integer createtime;

    private Byte tag;

}